GtkShaderBuilder Fix copy/paste error in precondition
authorTimm Bäder <mail@baedert.org>
Thu, 16 Mar 2017 18:16:24 +0000 (19:16 +0100)
committerTimm Bäder <mail@baedert.org>
Fri, 17 Mar 2017 17:35:43 +0000 (18:35 +0100)
commit242368bdf6244bb3d636bec384233dbb33cba5d9
tree97a1115ca1e1eb4f5248951f75245f5e96ecb2c4
parent1fe4b1387113ffcd38e1c72a65120ade7ab0955e
GtkShaderBuilder Fix copy/paste error in precondition

gtk_shader_builder_add_define should check both define_name and
define_value for not-NULL and not-empty, but the second precondition
check checks define_name again for not-empty-ness.
gsk/gskshaderbuilder.c